package com.moxiao.yfjh.module.blind.convert.equity;

import com.moxiao.yfjh.module.blind.controller.admin.equity.vo.MemberEquityCreateReqVO;
import com.moxiao.yfjh.module.blind.controller.admin.equity.vo.MemberEquityExcelVO;
import com.moxiao.yfjh.module.blind.controller.admin.equity.vo.MemberEquityRespVO;
import com.moxiao.yfjh.module.blind.controller.admin.equity.vo.MemberEquityUpdateReqVO;
import com.moxiao.yfjh.module.blind.dal.dataobject.equity.MemberEquityDO;
import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.blind.controller.admin.equity.vo.*;

/**
 * 相亲会员权益 Convert
 *
 * @author mx
 */
@Mapper
public interface MemberEquityConvert {

    MemberEquityConvert INSTANCE = Mappers.getMapper(MemberEquityConvert.class);

    MemberEquityDO convert(MemberEquityCreateReqVO bean);

    MemberEquityDO convert(MemberEquityUpdateReqVO bean);

    MemberEquityRespVO convert(MemberEquityDO bean);

    List<MemberEquityRespVO> convertList(List<MemberEquityDO> list);

    PageResult<MemberEquityRespVO> convertPage(PageResult<MemberEquityDO> page);

    List<MemberEquityExcelVO> convertList02(List<MemberEquityDO> list);

}
